package net.suncapper.wcss.web.controller;

import net.suncapper.wcss.model.domain.Application;
import net.suncapper.wcss.model.vo.ApplicationVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import net.suncapper.wcss.common.JsonResponse;
import net.suncapper.wcss.service.IAuditHistoryService;
import net.suncapper.wcss.model.domain.AuditHistory;

import java.util.List;


/**
 *
 *  前端控制器
 *
 *
 * @author ztr
 * @since 2025-11-11
 * @version v1.0
 */
@RestController
@RequestMapping("/api/auditHistory")
public class AuditHistoryController {

    private final Logger logger = LoggerFactory.getLogger( AuditHistoryController.class );

    @Autowired
    private IAuditHistoryService auditHistoryService;
  @GetMapping("check")
    private JsonResponse check(AuditHistory auditHistory ,ApplicationVO applicationVO)
  {
      List<AuditHistory> list=auditHistoryService.getList(auditHistory,applicationVO);
        return JsonResponse.success(list);
  }
}

